package com.yanyu.space.codegen.bean.po;

import com.baomidou.mybatisplus.annotation.TableName;
import com.yanyu.space.common.core.bean.db.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 模板属性
 *
 * @author yanyu
 */
@Data
@TableName("gen_attr")
@ApiModel(value = "Attr对象", description = "模板属性")
public class Attr extends BaseEntity {

    @ApiModelProperty(value = "主键")
    private Long id;

    @ApiModelProperty(value = "属性名")
    private String name;

    @ApiModelProperty(value = "属性值")
    private String value;

    @ApiModelProperty(value = "描述")
    private String remark;

    @ApiModelProperty(value = "类型：1：自定义，2：默认")
    private Integer type;

    @ApiModelProperty(value = "排序")
    private Integer sort;
}
